package org.example.chatroom.service;

import org.example.chatroom.common.pojo.dataobject.Message;
import org.example.chatroom.common.pojo.response.MessageResponse;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: LIUYANJIAO
 * Date: 2025-06-26
 * Time: 16:03
 */
@Service
public interface MessageService {
    List<MessageResponse> getmessage(Integer dialogueId);

    void add(Message message);
}
